package com.sc.nft.admin.request;

import com.sc.nft.sup.PageRequest;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Range;

import javax.validation.constraints.NotNull;
import java.util.List;
import java.util.Map;

@Data
public class GenerateCDKRequest  {
    @ApiModelProperty("活动id")
    @NotNull(message = "活动id不能为空")
    private Long activityId;

    @ApiModelProperty("生成数量")
    @NotNull(message = "生成数量不能为空")
    @Range(min =1,max = 20000, message = "生成数量必须在1-2000之间")
    private Integer generateNum;

}
